vendor/golang.org/x/net/http/httpproxy.domainMatch.matchHost (field)
3 uses
vendor/golang.org/x/net/http/httpproxy (current package)
proxy.go#L272: c.domainMatchers = append(c.domainMatchers, domainMatch{host: phost, port: pport, matchHost: matchHost})
proxy.go#L362: matchHost bool
proxy.go#L366: if strings.HasSuffix(host, m.host) || (m.matchHost && host == m.host[1:]) {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |